Optimal. Leaf size=16 \[ \frac{\cot (e+f x) \csc (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0216889, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {3011} \[ \frac{\cot (e+f x) \csc (e+f x)}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3011
Rubi steps
\begin{align*} \int \csc ^3(e+f x) \left (-2+\sin ^2(e+f x)\right ) \, dx &=\frac{\cot (e+f x) \csc (e+f x)}{f}\\ \end{align*}
Mathematica [B] time = 0.0262604, size = 107, normalized size = 6.69 \[ \frac{\csc ^2\left (\frac{1}{2} (e+f x)\right )}{4 f}-\frac{\sec ^2\left (\frac{1}{2} (e+f x)\right )}{4 f}+\frac{\log \left (\sin \left (\frac{e}{2}+\frac{f x}{2}\right )\right )}{f}-\frac{\log \left (\sin \left (\frac{1}{2} (e+f x)\right )\right )}{f}-\frac{\log \left (\cos \left (\frac{e}{2}+\frac{f x}{2}\right )\right )}{f}+\frac{\log \left (\cos \left (\frac{1}{2} (e+f x)\right )\right )}{f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.07, size = 17, normalized size = 1.1 \begin{align*}{\frac{\csc \left ( fx+e \right ) \cot \left ( fx+e \right ) }{f}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.980448, size = 31, normalized size = 1.94 \begin{align*} -\frac{\cos \left (f x + e\right )}{{\left (\cos \left (f x + e\right )^{2} - 1\right )} f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.52423, size = 51, normalized size = 3.19 \begin{align*} -\frac{\cos \left (f x + e\right )}{f \cos \left (f x + e\right )^{2} - f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.14988, size = 66, normalized size = 4.12 \begin{align*} -\frac{\frac{\cos \left (f x + e\right ) + 1}{\cos \left (f x + e\right ) - 1} - \frac{\cos \left (f x + e\right ) - 1}{\cos \left (f x + e\right ) + 1}}{4 \, f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]